function f(x: any): x is boolean {}

(function (x: any): x is boolean {});